package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 社区养老订餐对象 old_food_service
 * 
 * @author ruoyi
 * @date 2021-07-05
 */
public class OldFoodService extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 外键 */
    @Excel(name = "外键")
    private Long oldUserId;
    private String  UserName;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date oldCreatetime;

    /** 套餐类型 */
    @Excel(name = "套餐类型")
    private Long oldServiceType;  /** 套餐类型 */
    @Excel(name = "套餐类型")
    private Long oldServiceTypeName;


    /** 服务地址 */
    @Excel(name = "服务地址")
    private String oldServiceAdress;

    /** 备注 */
    @Excel(name = "备注")
    private String oldRemark;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setOldUserId(Long oldUserId) 
    {
        this.oldUserId = oldUserId;
    }

    public Long getOldUserId() 
    {
        return oldUserId;
    }
    public void setOldCreatetime(Date oldCreatetime) 
    {
        this.oldCreatetime = oldCreatetime;
    }

    public Date getOldCreatetime() 
    {
        return oldCreatetime;
    }
    public void setOldServiceType(Long oldServiceType)
    {
        this.oldServiceType = oldServiceType;
    }

    public Long getOldServiceType()
    {
        return oldServiceType;
    }
    public void setOldServiceAdress(String oldServiceAdress) 
    {
        this.oldServiceAdress = oldServiceAdress;
    }

    public String getOldServiceAdress() 
    {
        return oldServiceAdress;
    }
    public void setOldRemark(String oldRemark) 
    {
        this.oldRemark = oldRemark;
    }

    public Long getOldServiceTypeName() {
        return oldServiceTypeName;
    }

    public void setOldServiceTypeName(Long oldServiceTypeName) {
        this.oldServiceTypeName = oldServiceTypeName;
    }

    public String getOldRemark()
    {
        return oldRemark;
    }

    public String getUserName() {
        return UserName;
    }

    public void setUserName(String userName) {
        UserName = userName;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("oldUserId", getOldUserId())
            .append("oldCreatetime", getOldCreatetime())
            .append("oldServiceType", getOldServiceType())
            .append("oldServiceAdress", getOldServiceAdress())
            .append("oldRemark", getOldRemark())
            .toString();
    }
}
